https://bugs.kde.org/show_bug.cgi?id=427414

            Bug ID: 427414
           Summary: --slider dialog needs documentation and usage
                    instructions
           Product: kdialog
           Version: 20.08
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: br...@frogmouth.net
          Reporter: psychon...@nothingisreal.com
  Target Milestone: ---

Almost all of the dialog types offered by KDialog are sufficiently documented,
either in the tutorial at
<https://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs>,
or else in the man page, or else by emitting usage instructions on the console
when called with the wrong number of arguments.  The only exception is
--slider, which is mentioned only in the man page, but without enough
information to understand how it should be invoked.  And invoking --slider with
only one argument results in a nonsensical slider dialog rather than displaying
usage instructions.

To fix this problem, the following is required:

1. Add a section for --slider to the tutorial (probably as a subsection of
ยง3.7)

2. When --slider is called with fewer than two or more than four arguments,
KDialog should immediately quit with exit status 255 and the following message
should be output:

Syntax: --slider text min_value max_value increment

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to