Files
Fintan Halpenny 38ca038a0d cli: fix test regression in 27a85987c3
A test failure was caused in commit
27a85987c3, which expected `STRING`
instead of `ALIAS`.

This change fixes that discrepancy.
2025-10-17 16:57:29 +01:00

712 B

Note that aliases must not be longer than 32 bytes, or you will get an error. There are other rules as well:

$ rad auth --alias "5fad63fe6b339fa92c588d926121bea6240773a7"
error: invalid value '5fad63fe6b339fa92c588d926121bea6240773a7' for '--alias <ALIAS>': alias cannot be greater than 32 bytes

For more information, try '--help'.
$ rad auth --alias "john doe"
error: invalid value 'john doe' for '--alias <ALIAS>': alias cannot contain whitespace or control characters

For more information, try '--help'.
$ rad auth --alias ""
error: invalid value '' for '--alias <ALIAS>': alias cannot be empty

For more information, try '--help'.