diff --git a/DevOps/Options/RunsOptions.cs b/DevOps/Options/RunsOptions.cs index 55697ad..d83273f 100644 --- a/DevOps/Options/RunsOptions.cs +++ b/DevOps/Options/RunsOptions.cs @@ -11,6 +11,6 @@ public class RunsOptions [Option('p', "project", Required = false, HelpText = "Project name. Uses default if configured.")] public string Project { get; set; } - [Option('t', "top", Required = false, Default = 10, HelpText = "Number of most recent runs to show (default: 10).")] + [Option('n', "top", Required = false, Default = 10, HelpText = "Number of most recent runs to show (default: 10).")] public int Top { get; set; } } diff --git a/README.md b/README.md index ac52b66..5a382d8 100644 --- a/README.md +++ b/README.md @@ -313,7 +313,7 @@ Shows the most recent runs of a pipeline, newest first. Use the pipeline ID from ```powershell devops runs -i 42 -devops runs -i 42 -t 25 +devops runs -i 42 -n 25 devops runs -i 42 -p AnotherProject ``` @@ -323,7 +323,7 @@ Output columns: `ID`, `NAME`, `STATE` (e.g. `inProgress`, `completed`), `RESULT` |---|---|---| | `--id` | `-i` | Pipeline (definition) ID (required). See `pipelines` | | `--project` | `-p` | Project name (uses default if configured) | -| `--top` | `-t` | Number of most recent runs to show (default: 10) | +| `--top` | `-n` | Number of most recent runs to show (default: 10) | ---