From f7ac975a51ec6af9140a1ae5aa61f8d5895cc727 Mon Sep 17 00:00:00 2001 From: Jonas Lima de Amorim Date: Thu, 23 Jul 2026 18:38:19 -0300 Subject: [PATCH] refactor: standardize --top short alias to -n on runs --- DevOps/Options/RunsOptions.cs | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) | ---