Bug 375488

Summary: --use command line does not work
Product: [Applications] kate Reporter: charles.gorand.dev
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: lueck
Priority: NOR    
Version: 16.08   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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).