Skip to content

Show mdmctl config switch usage if no server -name passed#791

Merged
jessepeterson merged 3 commits intomicromdm:mainfrom
williamtheaker:patch-4
Dec 20, 2021
Merged

Show mdmctl config switch usage if no server -name passed#791
jessepeterson merged 3 commits intomicromdm:mainfrom
williamtheaker:patch-4

Conversation

@williamtheaker
Copy link
Contributor

mdmctl config switch currently doesn't provide any hint that a -name flag should be passed:

% ./mdmctl config switch
no server named "" found
% ./mdmctl config switch example
no server named "" found

After this patch:

% build/darwin/mdmctl config switch
USAGE
  mdmctl config switch [flags]

FLAGS
  -name   name of the server to switch to

Copy link
Member

@jessepeterson jessepeterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix format and gtg! :)

Copy link
Member

@jessepeterson jessepeterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@jessepeterson jessepeterson merged commit be0157a into micromdm:main Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants