Skip to content

Incorrect/inconsistent Help #29

@Sepero

Description

@Sepero

The help output is inconsistent. Looking at the code, it appears double dash is correct. --verbose VS -verbose

# diskrsync -h
Usage of diskrsync:
  -calc-progress
        Write calc progress
  -no-compress
        Store target as a raw file
  -source
        Source mode
  -ssh-flags string
        SSH flags
  -sync-progress
        Write sync progress
  -target
        Target mode
  -verbose
        Print statistics, progress, and some debug info
# diskrsync
Usage: diskrsync [--ssh-flags="..."] [--no-compress] [--verbose] <src> <dst>
src and dst is [[user@]host:]path

For simplicity sake, I would recommend changing to the same output for both, similar to the following.

Usage: diskrsync [--ssh-flags="..."] [--no-compress] [--verbose] <src> <dst>
src and dst is [[user@]host:]path
  --calc-progress
        Write calc progress
  --no-compress
        Store target as a raw file
  --source
        Source mode
  --ssh-flags string
        SSH flags
  --sync-progress
        Write sync progress
  --target
        Target mode
  --verbose
        Print statistics, progress, and some debug info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions