Skip to content

--config doesn't work #2

@phemmer

Description

@phemmer

The --config command line argument doesn't do anything.

# echo "port: 25575" > /tmp/config.yaml

# ./rcon-cli --config /tmp/config.yaml help
2019/01/08 02:56:38 Failed to connect to RCON serverdial tcp [::1]:27015: connect: connection refused

# mv /tmp/config.yaml /tmp/.rcon-cli.yaml

# HOME=/tmp ./rcon-cli help
Using config file: /tmp/.rcon-cli.yaml
§e--------- §fHelp: Index (1/9) §e---------------------
§7Use /help [n] to get page n of help.
§6Aliases: §fLists command aliases
§6Bukkit: §fAll commands for Bukkit
§6Minecraft: §fAll commands for Minecraft
§6/advancement: §fA Mojang provided command.
§6/ban: §fA Mojang provided command.
§6/ban-ip: §fA Mojang provided command.
§6/banlist: §fA Mojang provided command.
§6/bossbar: §fA Mojang provided command.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions