Skip to content

Commit

Permalink
Add nosave option to armory add, armory modify
Browse files Browse the repository at this point in the history
  • Loading branch information
RafBishopFox committed Apr 17, 2024
1 parent b6a24b0 commit 0b9442d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/command/armory/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func Commands(con *console.SliverClient) []*cobra.Command {
f.StringP("pubkey", "k", "", "The public key for the armory (required)")
f.StringP("auth", "a", "", "Authorization details / credentials for the armory")
f.StringP("authcmd", "x", "", "Local command to run for authorization to the armory")
f.BoolP("no-save", "n", false, "Do not save this armory configuration to disk")
f.BoolP("no-save", "e", false, "Do not save this armory configuration to disk")
})
armoryAddCmd.MarkFlagRequired("url")
armoryAddCmd.MarkFlagRequired("pubkey")
Expand Down Expand Up @@ -176,7 +176,7 @@ func Commands(con *console.SliverClient) []*cobra.Command {
f.StringP("url", "u", "", "new URL for the armory")
f.StringP("auth", "a", "", "new authorization details / credentials for the armory")
f.StringP("authcmd", "x", "", "new local command to run for authorization to the armory")
f.BoolP("no-save", "n", false, "do not save armory configuration to armory configuration file")
f.BoolP("no-save", "e", false, "do not save armory configuration to armory configuration file")
})
carapace.Gen(armoryModifyCmd).PositionalCompletion(
carapace.ActionValues().Usage("name of the armory"),
Expand Down

0 comments on commit 0b9442d

Please sign in to comment.