Skip to content

Commit

Permalink
rename username by machine (#506)
Browse files Browse the repository at this point in the history
Co-authored-by: AlteredCoder <AlteredCoder>
  • Loading branch information
AlteredCoder committed Dec 3, 2020
1 parent f411ab4 commit 7831dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crowdsec-cli/lapi.go
Expand Up @@ -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{
Expand Down

0 comments on commit 7831dab

Please sign in to comment.