Custom Search
|
|
Re: [PATCH] Fix arg parsing for func-command and func-down-hosts | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Sat, 2010-11-20 at 22:50 -0500, Todd Zullinger wrote:
> ---
> scripts/func-command | 2 +-
> scripts/func-down-hosts | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/func-command b/scripts/func-command
> index 32f9b46..4d1d522 100755
> --- a/scripts/func-command
> +++ b/scripts/func-command
> @@ -13,7 +13,7 @@ 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")
> - opts, args, parser = parse_args(args)
> + opts, args = parser.parse_args(args)
> opts = handle_base_func_options(parser, opts)
>
> if len(args) < 1:
> diff --git a/scripts/func-down-hosts b/scripts/func-down-hosts
> index 8ee08a9..3f6b60a 100755
> --- a/scripts/func-down-hosts
> +++ b/scripts/func-down-hosts
> @@ -10,7 +10,7 @@ from func.utils import is_error
>
> def main(args):
> parser = base_func_parser(outputpath=False, timeoutdef=10)
> - opts, args, parser = parse_args(args)
> + opts, args = parser.parse_args(args)
> opts = handle_base_func_options(parser, opts)
>
>
> --
> 1.7.3.2
>
applied. thanks.
-sv
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]