© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
23 replies
Pixel
[System.Commandline] how to exit on --help
By default System
.Commandline adds a
-
-help which is nice but unlike the behavior of most POSIX programs the program does not exit when the
-
-help option is added
.
How would i replicate this behavior
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ Default command in System.CommandLine
C
C# / help
3y ago
✅ System.CommandLine -> How to create a option without a parameter?
C
C# / help
3y ago
System.CommandLine and injection of IOptions (not Option!) type
C
C# / help
4y ago
✅ How to flush NLog on application exit with MEL
C
C# / help
4y ago