@@ -35,24 +35,24 @@ public function configure()
3535 ->addArgument ('email ' , InputArgument::REQUIRED , 'Email address ' )
3636 ->addArgument ('accountId ' , InputArgument::REQUIRED , 'Account ID ' )
3737 ->addArgument ('roleId ' , InputArgument::REQUIRED , 'Role ' )
38- ->addOption ('appId ' , null , InputOption::VALUE_OPTIONAL , 'App ID (acct-level if omitted) ' , 0 )
39- ->addOption ('displayName ' , null , InputOption::VALUE_OPTIONAL , 'Display Name ' , 0 )
38+ ->addOption ('app ' , null , InputOption::VALUE_OPTIONAL , 'App ID (acct-level if omitted) ' , 0 )
39+ ->addOption ('displayname ' , null , InputOption::VALUE_OPTIONAL , 'Display Name ' , 0 )
4040 ;
4141 $ this ->addOauthOptions ();
4242 }
4343
4444 public function execute (InputInterface $ input , OutputInterface $ output ): int
4545 {
4646 $ newAcctEmail = $ input ->getArgument ('email ' );
47- $ newAcctName = $ input ->getArgument ('displayName ' );
47+ $ newAcctName = $ input ->getArgument ('displayname ' );
4848 if ($ newAcctName === 0 ) { $ newAcctName = $ input ->getArgument ('email ' ); }
4949 $ newAcctId = $ input ->getArgument ('accountId ' );
5050 $ newAcctRole = $ this ->roleToInt ($ input ->getArgument ('roleId ' ));
5151 if ($ newAcctRole === false ) {
5252 $ output ->writeln ("Invalid role, must be one of 'app-only-minimal', 'app-only', 'billing', 'tech', 'sub-admin', 'super-admin', 'owner' " );
5353 return Command::FAILURE ;
5454 }
55- $ newAppId = $ input ->getArgument ('appId ' );
55+ $ newAppId = $ input ->getArgument ('app ' );
5656 $ token = $ this ->token ->token ;
5757
5858 $ r = $ this ->api ->addCollaboratorToAcct ($ token ,
0 commit comments