Skip to content

Commit

Permalink
Note of TTY-dependent output
Browse files Browse the repository at this point in the history
  • Loading branch information
mindstorm38 committed Aug 5, 2023
1 parent 0a11dd0 commit 08a260e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ will be used for all network connections.

The general output format of the launcher can be changed using the `--output <mode>` with
one of the following modes:
- `human`: Human readable output, translated messages, formatted tables and tasks.
- `human-color`: Default, same as `human` but with some color where relevant, like tasks
states and game logs.
- `human`: Human readable output, translated messages, formatted tables and tasks,
default if stdout if not a TTY.
- `human-color`: Same as `human` but with some color where relevant, like tasks states
and game logs, default if stdout is a TTY.
- `machine`: Machine

The verbosity of the launcher can be adjusted if you encounter issues, using multiple
Expand Down
2 changes: 1 addition & 1 deletion portablemc/cli/lang.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get(key: str, **kwargs) -> str:
"saves, screenshots (and resources for legacy versions), it also store "
"runtime binaries and authentication.",
"args.timeout": "Set a global timeout (in decimal seconds) for network requests.",
"args.output": "Set the output format of the launcher, defaults to human-color.",
"args.output": "Set the output format of the launcher, defaults to human-color, human if not a TTY.",
"args.verbose": "Enable verbose output. The more -v argument you put, the more verbose the launcher will be, depending on subcommands' support (usually -v, -vv, -vvv).",
# Args common langs
"args.common.help": "Show this help message and exit.",
Expand Down

0 comments on commit 08a260e

Please sign in to comment.