Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Print the long options of the required flags missing
The error message collected by 'checkRequiredFlags()' now sets the name of the flags to the long option given in the 'Name: <somecommand>' field. This change is introduced to fix up an error where printing the error in the case of a missing required flag looks like: ``` Required flags " n, t" not set ``` Whilst the expected behaviour is: ``` Required flags "<long-name1>, <long-name2>" not set ``` Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
- Loading branch information