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 d3be4a2 commit cc4faf6
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,5 +25,5 @@ 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`
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 cc4faf6

Please sign in to comment.