On 05.03.2012 12:16, Andreas Vogel wrote:
It's a question of personal preference and I personally prefer the second one. And even if behaviour of optional arguments is changed it doesn't mean that we should increase bitrot by having different interface conventions for some options.if [ "feature" = unavail ] ; then set hidden=1 else set hidden=0 fi menuentry "Boot memtest86" --hidden $hidden { ... }for looks nicer opposed to if [ "feature" = unavail ] ; then set hidden="--hidden" else set hidden= fi menuentry "Boot memtest86" $hidden { ... }
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
