[parted-devel] DISCUSS: Script-friendly interface

Albert ARIBAUD albert.aribaud at free.fr
Thu Jun 22 12:11:26 UTC 2006


leslie.polzer at gmx.net wrote:
> On Mon, Jun 19, 2006 at 05:34:25PM +0800, Anant Narayanan wrote:
> 
>>Like I said before I was thinking of a set of commands that mirror
>>all commands available to users of the parted frontend. Better still
>>(and easier to implement) would be to add and optional argument
>>`machine' to every command, which when used outputs machine parse-able
>>information instead of the usual human-readable messages.
> 
> Why is this better than, say, a command-line switch?

Maybe something akin to what is done in the 'find' command with the 
-*print* switches?

Amicalement,
-- 
Albert.



More information about the parted-devel mailing list