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

            Bug ID: 406904
           Summary: skrooge command-line help "--+[URL]" doesn't match its
                    behavior
           Product: skrooge
           Version: Trunk from git
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
While filing bug 406903 I realized Skrooge's command-line help doesn't document
`skrooge path/to/file.skg`, instead it gives a strange --+[URL] command-line
option that I couldn't get to work.

STEPS TO REPRODUCE
1. In a terminal, enter `skrooge --help`
2. Try entering `skrooge --+path/to/file.skg`, `skrooge
--+file:///path/to/file.skg` , etc.

OBSERVED RESULT
`skrooge --help` prints, in part:
  Usage: skrooge [options]

  Options:
    --+[URL]                   Document to open

But I can't get this odd "--+" syntax to work with a path or a file:/// URL.

EXPECTED RESULT
Command-line help should document
   skrooge [options] [FILE]

   [FILE]    path to .skg file

I'm not sure about the --+[URL] option, I looked in skgbasegui/skgmainpanel.cpp
and plugins/generic/skg_file/skgfileplugin.cpp and couldn't figure out how it's
used.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

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

Reply via email to