rename username by machine (#506)

Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
AlteredCoder 2020-12-03 17:38:27 +01:00 committed by GitHub
parent f411ab4fcd
commit 7831dabaa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ Keep in mind the machine needs to be validated by an administrator on LAPI side
}
cmdLapiRegister.Flags().StringVarP(&apiURL, "url", "u", "", "URL of the API (ie. http://127.0.0.1)")
cmdLapiRegister.Flags().StringVarP(&outputFile, "file", "f", "", "output file destination")
cmdLapiRegister.Flags().StringVar(&lapiUser, "username", "", "output file destination")
cmdLapiRegister.Flags().StringVar(&lapiUser, "machine", "", "output file destination")
cmdLapi.AddCommand(cmdLapiRegister)
var cmdLapiStatus = &cobra.Command{