From c7425654ca4808a9cc49a4e6da4f91f40bd70cbd Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Apr 15 2023 10:38:11 +0000 Subject: cli: fix typo in --no-default-features flag --- diff --git a/cargo2rpm/cli.py b/cargo2rpm/cli.py index 338fae2..2314181 100644 --- a/cargo2rpm/cli.py +++ b/cargo2rpm/cli.py @@ -20,7 +20,7 @@ def get_args(args=None): action_brs = action_parsers.add_parser("buildrequires", help="Print BuildRequires for the current crate.") action_brs.add_argument("-t", "--with-check", action="store_true", help="Include dev-dependencies.") action_brs.add_argument("-a", "--all-features", action="store_true", help="Enable all features") - action_brs.add_argument("-n", "--no-default_features", action="store_true", help="Disable default features") + action_brs.add_argument("-n", "--no-default-features", action="store_true", help="Disable default features") action_brs.add_argument("-f", "-F", "--features", help="Comma-separated list of features to enable") action_brs.set_defaults(action="buildrequires")