diff options
author | Bob Ippolito <bob@redivi.com> | 2006-01-06 00:21:13 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2006-01-06 00:21:13 +0000 |
commit | 378fcef65d1d60cc839ac46facbc3945b713cbd3 (patch) | |
tree | 94d592c7ce971a91ae523571124e4287d0d94a08 | |
parent | 304c5e9dec9e4d05d8ee91686b26107de75b75c0 (diff) | |
download | xattr-378fcef65d1d60cc839ac46facbc3945b713cbd3.tar.gz |
name
-rwxr-xr-x | Lib/xattr/tool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/xattr/tool.py b/Lib/xattr/tool.py index c2bc0ec..c351ad8 100755 --- a/Lib/xattr/tool.py +++ b/Lib/xattr/tool.py @@ -19,7 +19,8 @@ def usage(e=None): print e print "" - print "usage: %s [-l] file [attr_name [attr_value]]" % (sys.argv[0],) + name = os.path.basename(sys.argv[0]) + print "usage: %s [-l] file [attr_name [attr_value]]" % (name,) print " -l: print long format (attr_name: attr_value) when listing xattrs" print " With no optional arguments, lists the xattrs on file" print " With attr_name only, lists the contents of attr_name on file" |