pub const DISCARD_CHANGES: u16 = 11;
switch --discard-changes: throw away local changes.
switch --discard-changes