SUMMARY *** command line option '--new-session' as stated in man page throws an error: kate: Unknown option 'new-session'. *** STEPS TO REPRODUCE 1. Open Terminal 2. Enter: kate --new-session OBSERVED RESULT kate: Unknown option 'new-session'. EXPECTED RESULT Kate starting with a new (unnamed) session SOFTWARE/OS VERSIONS Windows: - macOS: - Linux/KDE Plasma: Neon 5.24 KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION The man page states: --startanon Start Kate with a new anonymous session, implies -n (deprecated). --new-session Start Kate with a new anonymous session, implies -n. so either the man page or source code might get adjusted
would be happy to to walk the road further down one way or the other, but uncertain about the direction
Git commit 03e1a3a709eea739c2994eab698558a3a9756cb6 by Christoph Cullmann. Committed on 07/05/2022 at 17:37. Pushed by cullmann into branch 'master'. fix man page, remove --new-session --startanon is still the right command line parameter M +0 -5 doc/kate/man-kate.1.docbook https://invent.kde.org/utilities/kate/commit/03e1a3a709eea739c2994eab698558a3a9756cb6
Hi, good catch. One shall use --startanon, --new-session isn't there and the other one isn't deprecated. Fixed the man page for future releases.
that was quick! great!