Bug 375488 - --use command line does not work
Summary: --use command line does not work
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 16.08
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-24 09:15 UTC by charles.gorand.dev
Modified: 2017-01-26 21:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description charles.gorand.dev 2017-01-24 09:15:39 UTC
Kate Version 16.08.3

--use is mentionned in kate documentation but not documented.

Kate shall reuse running kate session when invoking :

$ kate --use myfile.txt
Comment 1 Burkhard Lück 2017-01-25 07:24:57 UTC
(In reply to charles.gorand.dev from comment #0)
> Kate Version 16.08.3
> 
> --use is mentionned in kate documentation but not documented.
> 
where did you find "--use" in the documentation?
 
> Kate shall reuse running kate session when invoking :
> 
> $ kate --use myfile.txt

https://docs.kde.org/stable5/en/applications/kate/fundamentals.html or the  manpage of kate reads:

kate -s --start name
Starts kate with the session name.
Comment 2 charles.gorand.dev 2017-01-25 07:56:47 UTC
The --use flag is mentionned here from your link:

"Only reuses an instance with the specified PID (Process ID). Used with the --use option."
Comment 3 Burkhard Lück 2017-01-26 20:08:28 UTC
Thanks for pointing out this issue, the obsolete option is nowremoved from the documentation with
https://commits.kde.org/kate/628c218ee5aaa62bc95ed0b3205c2442cbe204ae
Comment 4 charles.gorand.dev 2017-01-26 20:15:02 UTC
hummm it's a usefull switch ...

$ kate myfile.txt -u (or --use)

This one is better as it reuse opened session.
Comment 5 Burkhard Lück 2017-01-26 21:31:51 UTC
if you find it usefull please open a new bug (wish).