fix: init-xdg help and platform message
This commit is contained in:
@@ -6,7 +6,7 @@ const APP_NAME = "omp";
|
||||
|
||||
export async function initXdg(): Promise<void> {
|
||||
if (process.platform !== "linux" && process.platform !== "darwin") {
|
||||
console.error("XDG directory setup is only supported on Linux.");
|
||||
console.error("XDG directory setup is only supported on Linux and macOS.");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
||||
@@ -397,7 +397,7 @@ ${chalk.bold("Commands:")}
|
||||
set <key> <value> Set a setting value
|
||||
reset <key> Reset a setting to its default value
|
||||
path Print the config directory path
|
||||
init-xdg Initialize XDG Base Directory structure (Linux only)
|
||||
init-xdg Initialize XDG Base Directory structure
|
||||
|
||||
${chalk.bold("Options:")}
|
||||
--json Output as JSON
|
||||
|
||||
Reference in New Issue
Block a user