Skip to content

Commit

Permalink
fix: activate help generation
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
metacosm committed Oct 25, 2023
1 parent 1b5ed17 commit 15ee05b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To use the extension:
```
4. Start your application in dev mode: `quarkus dev`
5. Enter the dev mode terminal by pressing `:` (column)
6. You should have a new `power` command available, type `power --help` for more information
6. You should have a new `power` command available, type `power -h` for more information
7. You can start power measurement with `power start` and stop it with `power stop`, at which time the power consumption
of your app will be displayed.
8. You can also ask for power to be measured for a given duration by using the `--duration` option when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.aesh.command.*;
import org.aesh.command.invocation.CommandInvocation;

@GroupCommandDefinition(name = "power", description = "Power consumption commands")
@GroupCommandDefinition(name = "power", description = "Power consumption commands", generateHelp = true)
@SuppressWarnings("rawtypes")
public class PowerCommands implements GroupCommand {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import io.quarkiverse.power.runtime.MacOSPowermetricsSensor;
import io.quarkiverse.power.runtime.PowerSensor;

@CommandDefinition(name = "start", description = "Starts measuring power consumption of the current application")
@CommandDefinition(name = "start", description = "Starts measuring power consumption of the current application", generateHelp = true)
@SuppressWarnings("rawtypes")
public class StartCommand implements Command {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import io.quarkiverse.power.runtime.MacOSPowermetricsSensor;
import io.quarkiverse.power.runtime.PowerSensor;

@CommandDefinition(name = "stop", description = "Stops power measurement and outputs accumulated power since measures were started")
@CommandDefinition(name = "stop", description = "Stops power measurement and outputs accumulated power since measures were started", generateHelp = true)
@SuppressWarnings("rawtypes")
public class StopCommand implements Command {

Expand Down

0 comments on commit 15ee05b

Please sign in to comment.