On 8 January 2013 14:13, Fabrizio Sebastiani <[email protected]> wrote:

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

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