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

fortune: fail for bad options #392

Merged
merged 1 commit into from
Dec 29, 2023
Merged

Commits on Dec 29, 2023

  1. fortune: fail for bad options

    * Print usage and exit if an unknown option was entered, following OpenBSD version[1]
    * -h is not really an option
    * Mention -n option in usage string as done in SYNOPSIS
    * Document the purpose of -d flag in usage string and pod
    
    1. https://github.com/openbsd/src/blob/master/games/fortune/fortune/fortune.c#L304
    mknos authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    0a4fb31 View commit details
    Browse the repository at this point in the history