sws status Command Options

This command reports the status of managed content in the item workspace; providing the status of the workspace.

Note: Some commands options can be entered in an abbreviated format. The abbreviated form is mentioned in the description. All commands and options are case-sensitive.

Option Description

--dir <directorypath>,-d <directorypath>

The --dir must specify a directory within the workspace. This result of the command is always the entire workspace, and all objects within the workspace. If you specify a subdirectory of a workspace, it is as if you specified top-level workspace directory.

For example, if the workspace is located at: /usr/semirepo/workspaces/chipdev, and has a rom subdirectory, and you are in the chipdev workspace, the command returns the same results for all the following commands:

  • sws status --dir /usr/semirepo/workspaces/chipdev
  • sws status --dir .
  • sws status --dir ./rom

--dir can be abbreviated as -d. If --dir is not specified, the default value is the current working directory.
--fetch

Fetches information about the item contents from the external repository, before reporting status. This shows any changes in the remote repository that you need to update in the workspace.

Note: This operation does not update the data in the workspace.

If you specify this --fetch on an item stored in the Semiconductor Repository, the option is silently ignored.

Important: Because this operation is fetching information from an external data repository, the command takes longer when you specify this option.

--verbose, -v Display verbose output. When --verbose is not specified, the command reports the version number of the semiconductor item in the workspace and whether the workspace is up-to-date, and, if it not up-to-date, how many revisions back the workspace is from the repository version.

When --verbose is specified, it also includes a list of modified files, unmanaged files, and objects that have been modified in the workspace without a lock. --verbose can be abbreviated as -v.

Note: When the verbose option is specified with an item connected to an external repository, the verbose option is passed to the commands run on the repository and displayed as part of the command output.
--help, -h Displays simplified help focused on the most useful information.--help can be abbreviated as -h.