Discussion:
scripts/func-command
Greg Swift
2011-03-14 21:05:10 UTC
Permalink
scripts/func-command | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b47938a66d73d6408ecc8e87550c2250c66db80f
Author: Greg Swift <gregswift-***@public.gmane.org>
Date: Mon Mar 14 16:03:43 2011 -0500

Fixed help message in func-command to display \n instead of an actual new line

diff --git a/scripts/func-command b/scripts/func-command
index d119ef2..a899c39 100755
--- a/scripts/func-command
+++ b/scripts/func-command
@@ -13,7 +13,7 @@ from func.utils import is_error
def main(args):
parser = base_func_parser(outputpath=False)
parser.add_option('--returncodes', action='store_true', help="prefix each line with the commands returncode")
- parser.add_option('--oneline', action='store_true', help="output all things as one line - to make grepping easier, will not remove \n's from output of commands, though")
+ parser.add_option('--oneline', action='store_true', help="output all things as one line - to make grepping easier, will not remove \\n's from output of commands, though")
parser.add_option('-o', '--output-to-dir', dest='output_dest', default=None,
help="output each hosts results to a file in a dir named for the host")
opts, args = parser.parse_args(args)

Loading...