rename username by machine
@@ -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{
