Skip to content

Commit 401be04

Browse files
committed
fix(githook.ts): update error message to include command example for better user guidance
1 parent a9a2131 commit 401be04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/githook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const hookCommand = command(
9494
}
9595

9696
throw new Error(
97-
`Unsupported mode: ${mode}. Supported modes are: 'set' or 'unset'`
97+
`Unsupported mode: ${mode}. Supported modes are: 'set' or 'unset', do: \`oco hook set\``
9898
);
9999
} catch (error) {
100100
outro(`${chalk.red('✖')} ${error}`);

0 commit comments

Comments
 (0)