|
--dir <directorypath>,-d
<directorypath>
|
This option provides a path to prefix to the files and folders being deleted.
This reduces the amount of typing required by entering common file paths here, once,
instead of specifying them as part of the positional arguments. For example, if you
are deleting three files in your workspace, /doc/chip.doc and /doc/commands.html,
and /doc/src/specification.doc specify the command as:sws delete --dir doc
--comment "removing unused files" chip.doc commands.html
src/specification.doc Note:
Comment is included because the
option --comment or --cfile is required, because
the changes are committed as a checkin.
--dir can be
abbreviated as -d. If --dir is not specified, The
default value is the current working directory. |
--comment <Comment>,
-c <Comment> |
Comment describing the commit. Enclose comments with spaces in
quotes. For example, sws ci --comment "Removed obsolete chip.doc file"
chip.doc If neither the --comment or
--cfile option is be specified, the system generates an automatic
comment: "Deletes <list of path arguments>."
--comment can be abbreviated as -c.
|
--cfile <Path>, -C
<Path> |
The path to a text file containing the commit comment. The
--cfile option does not verify the --dir option,
so the comment file can be in a different directory path from the checkin files.
For example, sws ci --dir doc --cfile ~\comments\listofchanges.txt
chip.doc commands.html Either --comment or
-cfile must be specified. --cfile can be
abbreviated as --C (Upper-case C). There is no default value for
file name, but if no path is specified, the comment file must be in the current
working directory.
|
--verbose, -v |
Display verbose output. When --verbose is not
specified, the command returns a success message that includes the number of files
deleted. When --verbose is specified, the output also includes a list
of the added, removed, and modified files committed to the server.
--verbose can be abbreviated as -v. |
--force , -f |
The --force option specifies overwriting any
modified objects in the local workspace. Note:
The --force option
never overwrites unmanaged files. These files must be manually moved, renamed or
deleted. Unmanaged files that are identical in content from the managed version in
the semiconductor logical item are not considered collisions. The unmanaged file in
the workspace becomes managed.
--force can be abbreviated
as -f.
|
--help, -h |
Displays simplified help focused on the most useful
information.--help can be abbreviated as
-h. |