Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DevOps/Options/RunsOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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) |

---

Expand Down
Loading