1
0
Fork 0

- remove redundant command

- better alignment of help screen
This commit is contained in:
mfranz 2008-09-23 20:21:19 +00:00
parent f2398fd983
commit 0d89cb9073

View file

@ -18,16 +18,16 @@ Options:
-f, --format set output format (default: --format="%f +%l: %p = '%v'") -f, --format set output format (default: --format="%f +%l: %p = '%v'")
Format: Format:
%f file path %f file path
%l line number %l line number
%c column number %c column number
%p property path %p property path
%t property type %t property type
%V raw value (unescaped) %V raw value (unescaped)
%v cooked value (carriage return, non printable chars etc. escaped) %v cooked value (carriage return, non printable chars etc. escaped)
%q like %v, but single quotes escaped to \\' %q like %v, but single quotes escaped to \\'
%Q like %v, but double quotes escaped to \\" %Q like %v, but double quotes escaped to \\"
%% percent sign %% percent sign
Environment: Environment:
FG_ROOT FG_ROOT
@ -243,7 +243,6 @@ def main():
f = f.replace("\\033", "\x1b") f = f.replace("\\033", "\x1b")
f = f.replace("\\x1b", "\x1b") f = f.replace("\\x1b", "\x1b")
f = f.replace("%%", "\x01\x01") f = f.replace("%%", "\x01\x01")
f = f.replace("%(", "\x01\x01(")
f = f.replace("%f", "\x01(f)s") f = f.replace("%f", "\x01(f)s")
f = f.replace("%l", "\x01(l)d") f = f.replace("%l", "\x01(l)d")
f = f.replace("%c", "\x01(c)d") f = f.replace("%c", "\x01(c)d")