Skip to content

Time limit on -d/-D overly strict #41

Description

@kreuvf

beep/beep-main.c contains the magic number 300000U four times from lines 268 to 296 restricting, among others, the time for the delay -d and -D switches to 300 s or 5 min.

I used to use beep for simple remind-me-in-x-min tasks (like getting the pizza from the oven 🍕), but now that is not possible anymore (without some wrapper script etc. pp.). Also, calling usage_bail() was unhelpful to me in that case, because the documentation does not state this limit and the program still refuses to work with a perfectly acceptable (according to documentation) invocation.

Maybe I am missing something, but what was the reasoning behind this seemingly arbitrary limit? 🤔

(Also, thank you very much for picking up an unmaintained project 🥺👍)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions