Actions
Bug #3993
closedUpdate commands should fail when no parameters are provided
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Description
# hammer organization create --name myuniqueorg1 Organization created # hammer organization info --name myuniqueorg1 Id: 109 Name: myuniqueorg1 Created at: 2014/01/10 22:09:36 Updated at: 2014/01/10 22:09:36 # hammer organization update --id 109 --id 4 Organization updated # echo $? 0 # hammer organization update --id 109 --new-name Organization updated # echo $? 0
I'd argue that the last commands should have returned a non-zero return code and a message stating something along the lines of "you passed redundant arguments" and "missing value for attribute $foo"
Updated by Tomáš Strachota over 9 years ago
- Subject changed from Usability issues with hammer cli to Update commands should fail when no parameters are provided
- Category set to Foreman commands (obsolete)
Updated by Tomáš Strachota over 9 years ago
- Related to Tracker #2823: Tracker for usability issues added
Updated by Tomáš Strachota almost 7 years ago
- Category changed from Foreman commands (obsolete) to Hammer core
Updated by Shira Maximov about 5 years ago
- Status changed from New to Rejected
It is a valid behavior
Actions