scripts/func-command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 scripts/func-command |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d9c57db3cc58b67d9e6f806144107b1f6ce2fa7e
Author: Greg Swift <gregswift@xxxxxxxxx>
Date:   Sun Mar 20 22:38:00 2011 -0500

    Added a short cli option for --oneline to -1 (one) for func-command

diff --git a/scripts/func-command b/scripts/func-command
index a899c39..632c9a5 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('-1', '--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)


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux