Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#43 Use self explaining long options

open
Steven Shiau
None
5
2011-05-04
2011-04-30
PaDV
No

clonezilla should generate ocs-sr command with long options or both:
E.g. /opt/drbl/sbin/ocs-sr -q2 -c -j2 -z1 -i 2000 -sc -p true saveparts 2011-04-30-15-img sda1 should be
/opt/drbl/sbin/ocs-sr --use-partclone --confirm --clone-hidden-data --gzip-compress --image-size 2000 --skip-check-restorable --postaction true saveparts 2011-04-30-15-img sda1
A command with long options is more self explaining, less cryptic than a command with short options.

Discussion

  • Steven Shiau
    Steven Shiau
    2011-05-03

    I still prefer the short one, and if you like you can map that with the output of "ocs-sr --help".
    Anyway, maybe in the future we might add this...

    Steven.

     
  • Steven Shiau
    Steven Shiau
    2011-05-03

    • assigned_to: nobody --> steven_shiau
    • status: open --> pending
     
  • PaDV
    PaDV
    2011-05-04

    Perhaps it can be added as a comment above the command with short options.

     
  • PaDV
    PaDV
    2011-05-04

    • status: pending --> open