fix: init-xdg help and platform message

This commit is contained in:
can1357
2026-03-15 16:51:00 +01:00
parent 31427a8eef
commit 1bad87167b
2 changed files with 2 additions and 2 deletions
@@ -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);
}
+1 -1
View File
@@ -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