Skip to content

Commit de7da46

Browse files
committed
chore(client): remove revoke alias — logout is the one command
1 parent 9b2c98a commit de7da46

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

client/main.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,7 @@ func parseArgs() *rootFlags {
297297
args := os.Args[1:]
298298
if len(args) > 0 && !isFlagLike(args[0]) {
299299
switch args[0] {
300-
case "logout", "revoke", "status", "pair", "version", "help":
301-
if args[0] == "revoke" {
302-
args[0] = "logout" // alias
303-
}
300+
case "logout", "status", "pair", "version", "help":
304301
rf.subcommand = args[0]
305302
args = args[1:]
306303
case "--help", "-h":
@@ -334,7 +331,6 @@ Usage:
334331
arena-byoc [flags] Pair if needed, then run tunnel.
335332
arena-byoc pair [--force] Force the browser-pairing flow.
336333
arena-byoc logout [--keep-server]
337-
arena-byoc revoke [--keep-server]
338334
Wipe local config; revoke peer server-side.
339335
arena-byoc status Show stored identity + ping arena.
340336
arena-byoc version Print build version.

0 commit comments

Comments
 (0)