bug-hello
[Top][All Lists]
Advanced

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

Re: option "-n" ignored if used in conjunction with "-g"


From: Reuben Thomas
Subject: Re: option "-n" ignored if used in conjunction with "-g"
Date: Tue, 8 Jan 2013 20:27:54 +0000

On 8 January 2013 14:13, Fabrizio Sebastiani <address@hidden> wrote:

> address@hidden:~$ hello -n
> +---------------+
> | Hello, world! |
> +---------------+
> address@hidden:~$ hello -g="ciaociao"
> =ciaociao
> address@hidden:~$ hello -g "ciaociao"
> ciaociao
> address@hidden:~$ hello -g "ciaociao" -n
> +---------------+
> | Hello, world! |
> +---------------+
> address@hidden:~$ hello -n -g "ciaociao"
> ciaociao
> address@hidden:~$ hello -t -g "ciaociao"
> ciaociao
> address@hidden:~$
>

This is not a bug, it's how it should work. However, I agree that the
documentation is confusing. Watch:

 $ hello -g "ciaociao" -n
+----------------+
| Hello, world! |
+----------------+

I will remove the word "format" from the documentation, so that it says:

-  -t, --traditional       use traditional greeting format\n\
-  -n, --next-generation   use next-generation greeting format\n\
+  -t, --traditional       use traditional greeting\n\
+  -n, --next-generation   use next-generation greeting\n\

-- 
http://rrt.sc3d.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]