From 8cfaf2ccb60532bcaea464af72fda01c5629b685 Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Fri, 7 Oct 2016 11:27:52 -0400 Subject: [PATCH] Rename tuf.py to tufcli.py to prevent name clash --- setup.py | 2 +- tuf/scripts/{tuf.py => tufcli.py} | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) rename tuf/scripts/{tuf.py => tufcli.py} (91%) diff --git a/setup.py b/setup.py index f3af28a2..19d0f094 100755 --- a/setup.py +++ b/setup.py @@ -113,6 +113,6 @@ extras_require = extras, scripts = [ 'tuf/scripts/basic_client.py', - 'tuf/scripts/tuf.py' + 'tuf/scripts/tufcli.py' ] ) diff --git a/tuf/scripts/tuf.py b/tuf/scripts/tufcli.py similarity index 91% rename from tuf/scripts/tuf.py rename to tuf/scripts/tufcli.py index f87de6f6..3e02534a 100755 --- a/tuf/scripts/tuf.py +++ b/tuf/scripts/tufcli.py @@ -2,7 +2,7 @@ """ - tuf.py + tufcli.py Vladimir Diaz @@ -19,16 +19,16 @@ which is required by the repository and developer tools. - $ tuf.py --init [--consistent-snapshot=false] - $ tuf.py --gen-key --keytype --keystore [--expires=] - $ tuf.py --add --repo - $ tuf.py --remove --repo - $ tuf.py --snapshot - $ tuf.py --timestamp - $ tuf.py --sign --repo - $ tuf.py --commit - $ tuf.py --regenerate - $ tuf.py --clean --repo + $ tufcli.py --init [--consistent-snapshot=false] + $ tufcli.py --gen-key --keytype --keystore [--expires=] + $ tufcli.py --add --repo + $ tufcli.py --remove --repo + $ tufcli.py --snapshot + $ tufcli.py --timestamp + $ tufcli.py --sign --repo + $ tufcli.py --commit + $ tufcli.py --regenerate + $ tufcli.py --clean --repo --init @@ -155,7 +155,7 @@ def parse_options(): parser = optparse.OptionParser() - # Add the options supported by 'tuf.py' to the option parser. + # Add the options supported by 'tufcli.py' to the option parser. parser.add_option('--verbose', dest='VERBOSE', type=int, default=2, help='Set the verbosity level of logging messages.' 'The lower the setting, the greater the verbosity.')