Skip to content

Commit

Permalink
Make online flag optional since it defaults to true. (algorand#1170)
Browse files Browse the repository at this point in the history
Since the online option in the goal account changeonlinestatus defaults to true, updated the command so that the online option is not required.
  • Loading branch information
egieseke authored Jun 20, 2020
1 parent 3f26aac commit eeedd3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/goal/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ func init() {
changeOnlineCmd.Flags().StringVarP(&accountAddress, "address", "a", "", "Account address to change (required if no -partkeyfile)")
changeOnlineCmd.Flags().StringVarP(&partKeyFile, "partkeyfile", "", "", "Participation key file (required if no -account)")
changeOnlineCmd.Flags().BoolVarP(&online, "online", "o", true, "Set this account to online or offline")
changeOnlineCmd.MarkFlagRequired("online")
changeOnlineCmd.Flags().Uint64VarP(&transactionFee, "fee", "f", 0, "The Fee to set on the status change transaction (defaults to suggested fee)")
changeOnlineCmd.Flags().Uint64VarP(&firstValid, "firstRound", "", 0, "")
changeOnlineCmd.Flags().Uint64VarP(&firstValid, "firstvalid", "", 0, "FirstValid for the status change transaction (0 for current)")
Expand Down

0 comments on commit eeedd3d

Please sign in to comment.