Skip to content

Commit b233856

Browse files
authored
Merge pull request #38 from cdlliuy/dev_fixusage
fix usage missing
2 parents 7b4fa17 + cf473ad commit b233856

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ OPTIONS:
6565
Alias: "asm",
6666
HelpText: "Retrieve the metrics of an application",
6767
UsageDetails: plugin.Usage{
68-
Usage: `cf autoscaling-metrics APP_NAME METRIC_NAME [--start START_TIME] [--end END_TIME] [--desc] [--output PATH_TO_FILE]
68+
Usage: `cf autoscaling-metrics APP_NAME METRIC_NAME [--start START_TIME] [--end END_TIME] [--number NUMBER] [--desc] [--output PATH_TO_FILE]
6969
7070
METRIC_NAME:
7171
memoryused, memoryutil, responsetime, throughput, cpu.
@@ -84,7 +84,7 @@ OPTIONS:
8484
Alias: "ash",
8585
HelpText: "Retrieve the scaling history of an application",
8686
UsageDetails: plugin.Usage{
87-
Usage: `cf autoscaling-history APP_NAME [--start START_TIME] [--end END_TIME] [--desc] [--output PATH_TO_FILE]
87+
Usage: `cf autoscaling-history APP_NAME [--start START_TIME] [--end END_TIME] [--number NUMBER] [--desc] [--output PATH_TO_FILE]
8888
8989
OPTIONS:
9090
--start Start time of the scaling history with format "yyyy-MM-ddTHH:mm:ss+/-HH:mm" or "yyyy-MM-ddTHH:mm:ssZ", default to very beginning if not specified.

0 commit comments

Comments
 (0)