Skip to content

Commit 7c1dfc1

Browse files
chore: set default cli help page to start instead of index
Due to changes in the previous commit, `tns -h` is not working as CLI is trying to open the `index.md` file, which does not exist anymore. Change CLI's code to look for `start.md` instead.
1 parent 6bfa7df commit 7c1dfc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/services/help-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class HelpService implements IHelpService {
195195
await this.throwMissingCommandError(commandData);
196196
}
197197

198-
return (commandName && commandName.replace(/\|/g, "-")) || "index";
198+
return (commandName && commandName.replace(/\|/g, "-")) || "start";
199199
}
200200

201201
private async throwMissingCommandError(commandData: ICommandData): Promise<void> {

0 commit comments

Comments
 (0)