Safenode-manager: Man page conflicts with error message?

People,

My previous script stopped working so I changed it to this:

safenode-manager add \
    --rewards-address 0x70A7eF684ABE92cD7b5bbF4f0E74bb0b7b9ADB2c \
    evm-arbitrum-sepolia

which works - but this:

safenode-manager add \
    --rewards-address 0x70A7eF684ABE92cD7b5bbF4f0E74bb0b7b9ADB2c \
    evm-arbitrum-sepolia \
   --count 2

throws this error:

error: unexpected argument '--count' found

Usage: safenode-manager add --rewards-address <REWARDS_ADDRESS> evm-arbitrum-sepolia

Has the command changed and is now in conflict with the Man Page?

1 Like

the --rewards-address and evm-arbxxxx needs to be last as they are defined as “commands” so below might work…

safenode-manager add \
    --count 2 \
    --rewards-address 0x70A7eF684ABE92cD7b5bbF4f0E74bb0b7b9ADB2c \
    evm-arbitrum-sepolia

from safenode-manager add

Usage: safenode-manager add [OPTIONS] --rewards-address <REWARDS_ADDRESS> <COMMAND>

Commands:
  evm-arbitrum-one      Use the Arbitrum One network
  evm-arbitrum-sepolia  Use the Arbitrum Sepolia network
  evm-custom            Use a custom network
  evm-local             Use the local EVM testnet, loaded from a CSV file
  help                  Print this message or the help of the given subcommand(s)
2 Likes

@Jadkin ,

Excellent! - I was able to add my other switches back in as well . .

Thanks!

2 Likes

This topic was automatically closed after 59 days. New replies are no longer allowed.