sws update Command Options

This command updates the local workspace, fetching the latest versions of the files and folders in associated with a semiconductor logical item.

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

See Also
Understanding the sws update Command
Option Description

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

The directory path for the workspace.

The directory path specified can be any level within the workspace. The sws update command always updates the entire workspace. If no option is specified for --dir, the default is the current working directory.

--dir can be abbreviated as -d. If --dir is not specified, the default value is the current working directory.
--content The --content option restricts the operation of update command to the item specified with the path value instead of updating the entire workspace.
Note: When working with items containing DesignSync modules, the entire DesignSync module is always updated.
--force , -f The --force option specifies overwriting conflicting modified objects in the local workspace. Locally modified files that are not in conflict are left modified.
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 in conflict. The unmanaged file in the workspace becomes managed.

--force can be abbreviated as -f.

Note: When the force option is specified with an item connected to an external repository, the option is passed to the commands run on the repository.
--verbose, -v Display verbose output. When not specified, the command returns a success message that includes the number of files placed in the workspace and the amount of data transferred. When specified, the output also includes the commit ID of the latest commit on the branch, and a list of the updated files with a prefix indicated whether the file has been added, modified, or deleted. --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.

<path> [<path>...],

The path for the workspace object being updated. You can specify multiple object paths in a single command, space separated. You can specify the objects by full path or relative path.

Updated files are set to read-only in the workspace. If the path specified is a folder, all objects recursively within the folder are updated.

Note: If any object in a list of objects fails to update, the other objects in the list can still be successfully updated.

--help, -h Displays simplified help focused on the most useful information.--help can be abbreviated as -h.