[parted-devel] Re: Parted 2.0 plans

Otavio Salvador otavio at debian.org
Wed Nov 22 22:31:10 CET 2006


"Debarshi 'Rishi' Ray" <debarshi.ray at gmail.com> writes:

>> > +static int print_all ();
>>
>> Why you didn't use _print_all ();?
>
> There are 2 functions. print_all does the actual job of 'print all'.
> When invoked using the command line switch _print_all calls print_all
> and exits, in other cases do_print calls print_all. I chose the names
> according to the way 'version' and '--version' are implemented through
> 'do_print' and '_version' respectively.
>
> Has it messed up the naming conventions?

I see but I'll let others comment on it.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list