Skip to content

common options should be consistent among programs #3

@fanfani

Description

@fanfani

common options should be consistent among programs.

for instance, user defined width and height are sometimes invoked with -w -H and other with -W -H switches

it would be nice to invoke them always with the same syntax :-)

  • random_pixels
Usage: ./random_pixels [options]

Options:
  -h            Show this help message
  -w WIDTH      Window width (default: 1280)
  -H HEIGHT     Window height (default: 720)
  -r ROWS       Number of rows (default: 16)
  -c COLS       Number of columns (default: 22)

  • text
Usage: ./text [-c cols] [-r rows] [-s speed] [-t text] [-f fontsize] [-T textcolor] [-G gridcolor] [-B bgcolor] [-W width] [-H height] [-d direction]
Colors should be in R,G,B format (e.g., 255,0,0)
Direction: 0=horizontal (default), 1=vertical

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions