Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in example code #41

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ defines `optionalArg` as optional. This must be reflected in the config passed t
```typescript
parse<IMyInterface>({
requiredArg: String,
requiredArg: { type: String, optional: true },
optionalArg: { type: String, optional: true },
});
```

Expand Down Expand Up @@ -676,4 +676,4 @@ A few additional options have been added:
**headerContentSections** / **footerContentSections** - optional help sections that will appear before / after the `Options` section that is generated from the option config. In most cases you should probably include one header section that explains what the application does.

[//]: ####ts-command-line-args_generated-by-footer
Markdown Generated by [ts-command-line-args](https://www.npmjs.com/package/ts-command-line-args)
Markdown Generated by [ts-command-line-args](https://www.npmjs.com/package/ts-command-line-args)
Loading