服务器管理 > SCM 的更改包 > 修改更改包条目属性 > 要在 CLI 中编辑更改包条目属性
要在 CLI 中编辑更改包条目属性
在 CLI 中,输入下列命令:
im editcpentryattribute
--cpType=change package type
--decimalPlaces=value
--displayFormat=[truefalse|tf|yesno|yn]
--displayName=value
--[no]mandatory
--strings=value
--description=value
--position=[first|last|before:<name>|after:<name>]
cpentryattributeID
其中:
--cpType=change package type 指定要为其创建属性的更改包类型的名称。
--decimalPlaces=value 指定属性值的小数位数。此选项对数据类型 float 有效。
--displayFormat=[true|false|t|f|yes|no|y|n] 指定是否显示值的格式。此选项对数据类型 logical 有效。
--displayName=value 指定是否显示更改包条目属性的名称。
--[no]mandatory 指定更改包条目属性值是否是必填项。
--strings=value 指定更改包条目属性值的字符串。此选项对数据类型 stringlist 有效。
--description=value 指定更改包条目属性的简短说明。
--position=[first|last|before:<name>|after:<name>] 指定所创建更改包条目属性在属性顺序中的位置。
cpentryattributeID 指定所编辑更改包条目属性的 ID。
这对您有帮助吗?