From 05fc022546da8a3ff5fb56c725e72af6b68991f6 Mon Sep 17 00:00:00 2001 From: karajan1001 Date: Thu, 10 Mar 2022 10:25:46 +0800 Subject: [PATCH] exp show/pull/push/list: help text for -n (#7444) fix: #7444 from the discussion https://github.com/iterative/dvc.org/pull/3187#discussion_r821382100 1. Update the help message of `-n` --- dvc/commands/experiments/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dvc/commands/experiments/__init__.py b/dvc/commands/experiments/__init__.py index a32e782aa6..633310942c 100644 --- a/dvc/commands/experiments/__init__.py +++ b/dvc/commands/experiments/__init__.py @@ -93,8 +93,9 @@ def add_rev_selection_flags( dest="num", metavar="", help=( - f"{command} experiments from the `--rev` baseline and from `num` " - "commits before it (first parents). Give a negative value to " - "include all first-parent commits." + f"{command} experiments from the last `num` commits " + "(first parents) starting from the `--rev` baseline. " + "Give a negative value to include all first-parent commits " + "(similar to `git log -n`)." ), )