From 10add98d9070cc63ee3d4caafd4fb0f27f2bc33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Thu, 23 Jan 2025 16:03:44 +0100 Subject: [PATCH] yanger: Fix bug when collecting data --- src/statd/python/yanger/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statd/python/yanger/__main__.py b/src/statd/python/yanger/__main__.py index e5bfec27..13c2e300 100644 --- a/src/statd/python/yanger/__main__.py +++ b/src/statd/python/yanger/__main__.py @@ -27,7 +27,7 @@ def main(): rrparser.add_argument("-r", "--replay", type=dirpath, metavar="DIR", help="Generate output based on recorded system commands from DIR, " + "rather than querying the local system") - rrparser.add_argument("-c", "--capture", type=dirpath, metavar="DIR", + rrparser.add_argument("-c", "--capture", metavar="DIR", help="Capture system command output in DIR, such that the current system " + "state can be recreated offline (with --replay) for testing purposes")