[diffoscope] 01/01: Clarify the input arguments

Reiner Herrmann reiner at reiner-h.de
Tue Jun 28 17:12:16 CEST 2016

This is an automated email from the git hooks/post-receive script.

deki-guest pushed a commit to branch master
in repository diffoscope.

commit 198323f48c0bfa5af9d9e3636fa41487ac7a37e0
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Tue Jun 28 17:12:01 2016 +0200

    Clarify the input arguments
    Closes: #826894
 diffoscope/__main__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/diffoscope/__main__.py b/diffoscope/__main__.py
index d1aa0a5..e0821ff 100644
--- a/diffoscope/__main__.py
+++ b/diffoscope/__main__.py
@@ -95,8 +95,8 @@ def create_parser():
                         help='link to an extra CSS for the HTML report')
     parser.add_argument('--jquery', metavar='url', dest='jquery_url',
                         help='link to the jquery url, with --html-dir. Specify “disable” to disable JavaScript. When omitted diffoscope will try to create a symlink to a system installation. Known locations: %s' % ', '.join(JQUERY_SYSTEM_LOCATIONS))
-    parser.add_argument('file1', help='first file to compare')
-    parser.add_argument('file2', help='second file to compare')
+    parser.add_argument('path1', help='first file or directory to compare')
+    parser.add_argument('path2', help='second file or directory to compare')
     if not tlsh:
         parser.epilog = 'File renaming detection based on fuzzy-matching is currently disabled. It can be enabled by installing the “tlsh” module available at https://github.com/trendmicro/tlsh'
     if argcomplete:

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git

More information about the diffoscope mailing list