pub enum DisplayOptions {
OpenedChangedOrMissing,
ResolvedThenModified,
UnopenedMissing,
UnopenedChanged,
ListWithStatus,
OpenedIdentical,
}Expand description
Display options passed via the -soptions flag, producing a shorthand
list of files that match the filter instead of diffs.
Exactly one filter may be selected; the enum makes the alternatives unavailable at compile time.
Variants§
OpenedChangedOrMissing
-sa
Show only the names of opened files that are different from the revision in the depot, or are missing.
ResolvedThenModified
-sb
Show only the names of files opened for integrate that have been resolved, but that have been modified after being resolved.
UnopenedMissing
-sd
Show only the names of unopened files that are missing from the client workspace, but present in the depot.
UnopenedChanged
-se
Show only the names of unopened files in the client workspace that are different than the revision in the depot.
ListWithStatus
-sl file ...
Every unopened file is compared with the depot, and listed with a
status of same, diff, or missing.
If you use the -f option together with the -sl option, files that
are open for edit are also compared and their status is listed.
The compared files are passed as the file arguments of the spawned command.
OpenedIdentical
-sr
Show only the names of opened files in the client workspace that are identical to the revision in the depot.