From 15bdb0cdf9b7ef5de4c223487a5b0d815587b3e2 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mon, 23 Oct 2023 14:09:39 +0200 Subject: [PATCH] Revert "short option for watch-logs --follow" This reverts commit 0b7a97dc19b652816f1e6f148ef582f0cf7077bb. It was not pushed via correct PR merge. Same commit will follow with correct workflow. --- cli/koji_cli/commands.py | 2 +- tests/test_cli/test_watch_logs.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 55cdb7a0..3cca38f1 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -6473,7 +6473,7 @@ def anon_handle_watch_logs(goptions, session, args): parser.add_option("--mine", action="store_true", help="Watch logs for all your tasks, task_id arguments are forbidden in " "this case.") - parser.add_option("-f", "--follow", action="store_true", help="Follow spawned child tasks") + parser.add_option("--follow", action="store_true", help="Follow spawned child tasks") (options, args) = parser.parse_args(args) if options.mine: diff --git a/tests/test_cli/test_watch_logs.py b/tests/test_cli/test_watch_logs.py index 0e304cd6..e6788fee 100644 --- a/tests/test_cli/test_watch_logs.py +++ b/tests/test_cli/test_watch_logs.py @@ -28,11 +28,11 @@ class TestWatchLogs(utils.CliTestCase): (Specify the --help global option for a list of other help options) Options: - -h, --help show this help message and exit - --log=LOG Watch only a specific log - --mine Watch logs for all your tasks, task_id arguments are forbidden - in this case. - -f, --follow Follow spawned child tasks + -h, --help show this help message and exit + --log=LOG Watch only a specific log + --mine Watch logs for all your tasks, task_id arguments are forbidden + in this case. + --follow Follow spawned child tasks """ % self.progname) def test_watch_task_mine_and_task_id(self):