Skip to content

Commit 932137c

Browse files
committed
More updates for CLI help
1 parent f0ec068 commit 932137c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

convex-cli/src/main/java/convex/cli/ACommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public abstract class ACommand implements Runnable {
2222
public abstract Main cli();
2323

2424
public void showUsage() {
25-
CommandLine cl=new CommandLine(this);
25+
CommandLine cl=new CommandLine(this.getClass());
2626
showUsage(cl);
2727
}
2828

convex-cli/src/main/java/convex/cli/Help.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@Command(
1212
name="help",
13-
description="Show usage help",
13+
description="Show usage help and exit.",
1414
helpCommand = true)
1515
public class Help extends ACommand implements IHelpCommandInitializable2 {
1616

convex-cli/src/main/java/convex/cli/account/Account.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
AccountInformation.class,
2323
CommandLine.HelpCommand.class
2424
},
25-
mixinStandardHelpOptions=false,
2625
description="Manage Convex accounts.")
2726
public class Account extends ATopCommand {
2827

0 commit comments

Comments
 (0)