Task #1 (bundle):
=================
* parted -l (direct interface to "print all" command)
I have implemented this feature. However I found '-a' and '--all' to
be a more reasonable choice than '-l'. However if you disagree, then
you can always change it.
I think -l is more clear. It'll basically "list" the devices. But
another options would be put one as an alias to the other. Would work
fine.
Basically, I still think -l is clear.
Okay.
> +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?
Happy hacking,
Debarshi
--
I only work when I am not doing any assignments.
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel