Два одинаковых флага -s в --help сообщении #8

Closed
opened 2025-11-17 07:25:21 +00:00 by private-user · 1 comment
Owner

Повтор флагов -s дважды в --help сообщении

# dm-cli deal create --help
Usage: dm-cli deal create [options]

    Create a new deal

    [smhd] means seconds, minutes, hours, days.
    For example: --leave-before 2020-01-01, or --leave-before 10d.

    -a|--at                   Deal site
    -s|--seller               Seller user in deal
    -c|--customer             Customer user in deal
    -t|--type [prepayment|postpayment]
                              Deal type
    -s|--sum                  Deal sum in BTC
    -l|--leave-before { <yyyy-mm-dd> [hh:mm:ss UTC] | <time>[smhd] }
                              Deal end date (deal duration); default: 14d
    -p|--pay { <yyyy-mm-dd> [hh:mm:ss UTC] | <time>[smhd] }
                              Time for make payment; default: 1d
Повтор флагов `-s` дважды в `--help` сообщении ``` # dm-cli deal create --help Usage: dm-cli deal create [options] Create a new deal [smhd] means seconds, minutes, hours, days. For example: --leave-before 2020-01-01, or --leave-before 10d. -a|--at Deal site -s|--seller Seller user in deal -c|--customer Customer user in deal -t|--type [prepayment|postpayment] Deal type -s|--sum Deal sum in BTC -l|--leave-before { <yyyy-mm-dd> [hh:mm:ss UTC] | <time>[smhd] } Deal end date (deal duration); default: 14d -p|--pay { <yyyy-mm-dd> [hh:mm:ss UTC] | <time>[smhd] } Time for make payment; default: 1d ```
private-user added the bug label 2025-11-17 07:25:21 +00:00
FD was assigned by private-user 2025-11-17 07:25:21 +00:00
FD referenced this issue from a commit 2025-11-17 15:18:12 +00:00
Collaborator

Изменил на
-g|--sum Deal sum in BTC

в 2 файлах справки

Изменил на -g|--sum Deal sum in BTC в 2 файлах справки
FD closed this issue 2025-11-17 15:19:00 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: private/dm-cli#8