public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/security:master commit in: bin/
Date: Tue, 25 Apr 2017 17:44:13 +0000 (UTC)	[thread overview]
Message-ID: <1493142171.d93c551fd165ca3665c4a794a419d90476085187.whissi@gentoo> (raw)

commit:     d93c551fd165ca3665c4a794a419d90476085187
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 17:42:51 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 17:42:51 2017 +0000
URL:        https://gitweb.gentoo.org/proj/security.git/commit/?id=d93c551f

cvetool: Catch call without any arguments

 bin/cvetool | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/cvetool b/bin/cvetool
index b01b8d6..f60248b 100755
--- a/bin/cvetool
+++ b/bin/cvetool
@@ -171,6 +171,9 @@ class CVETool:
         return content.decode('utf-8')
 
 def main():
+    if len(sys.argv) == 1:
+        CVETool(None, 'usage', sys.argv[2:])
+
     if not 'CVETOOL_AUTH' in os.environ and not sys.argv[1] == 'pw':
         print('CVETOOL_AUTH environment variable missing. Generate its contents with the pw subcommand.')
         sys.exit(1)


             reply	other threads:[~2017-04-25 17:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 17:44 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-04  4:06 [gentoo-commits] proj/security:master commit in: bin/ Thomas Deutschmann
2020-03-04  4:06 Thomas Deutschmann
2017-01-16  5:53 Thomas Deutschmann
2017-01-16  5:53 Thomas Deutschmann
2017-01-13 10:45 Thomas Deutschmann
2017-01-13 10:45 Thomas Deutschmann
2016-06-01 17:57 Alex Legler
2014-08-04 23:45 Pavlos Ratis
2014-08-04 23:45 Pavlos Ratis
2014-08-04 23:45 Pavlos Ratis
2014-08-04 23:45 Pavlos Ratis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493142171.d93c551fd165ca3665c4a794a419d90476085187.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox