mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #176] The occ twofactorauth:gateway:.. command help should be improved #48
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @j-ed on GitHub (Jan 6, 2019).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/176
Expected behavior
If you use the occ command line interface, it should provide precise information about how to use the
twofactorauth:gateway:..commands if the --help switch is used.Current behavior
The provided information is sometimes a little bit misleading for the following commands:
More precise for the argument
gatewaywould be a text like "The name of the gateway, e.g. 'sms', 'signal', 'telegram', etc."More precise for the argument
gatewaywould be a text like "The name of the gateway, e.g. 'sms', 'signal', 'telegram', etc."More precise for the argument
identifierwould be a text like "The identifier (e.g. phone number, user id, etc.) of the recipient."Steps to reproduce
Environment
Server Configuration
OS: Linux 3.16.50
Web server: Apache2 2.4.37
Database: MariaDB 10.2.19
PHP version: 7.2.13
Nextcloud version: 15.0.0
Twofactor_gateway app version: 0.11.0
Client Configuration
Browser: Mozilla Firefox 64.0
Operating system: Windows 10
@ChristophWurst commented on GitHub (Jan 7, 2019):
Yep, that message doesn't help. Could you update
github.com/nextcloud/twofactor_gateway@3a0c999340/lib/Command/Configure.php (L64)and submit a pull request? That would be awesome ✌️@j-ed commented on GitHub (Jan 7, 2019):
@ChristophWurst done.