Summary | Enhanced function of horde-active-sessions |
Queue | Horde Base |
Queue Version | 5.2.12 |
Type | Enhancement |
State | Feedback |
Priority | 1. Low |
Owners | |
Requester | frank.richter (at) hrz (dot) tu-chemnitz (dot) de |
Created | 09/23/2016 (3155 days ago) |
Due | |
Updated | 11/01/2016 (3116 days ago) |
Assigned | |
Resolved | |
Milestone | |
Patch | Yes |
New Attachment: horde-active-sessions[1]
Frank
parsing, to maintain backward compatibility.
Frank
on the output, scripting it in some way
- -lll should be used instead for the more detailed information
- -ll could still receive the optional user parameter.
is getting complicated:
https://www.horde.org/libraries/Horde_Argv/docs/README
exception 'Horde_Argv_OptionException' with message 'invalid long
option string '-ll': must start with --, followed by non-dash' in
/usr/share/pear/Horde/Argv/Option.php:323
Frank
State ⇒ Feedback
- The -ll output should probably stay as-is, if people already rely on
the output, scripting it in some way
- -lll should be used instead for the more detailed information
- -ll could still receive the optional user parameter.
- You may want to switch to Horde_Argv because the parameter parsing
is getting complicated:
https://www.horde.org/libraries/Horde_Argv/docs/README
- You should check the return value of $sessionHandler->destroy()
- You should only output the number of sessions with the -l* flags.
thanks men
* added -ll user to get information on this user
* added -r user to remove a session
I attached all the changed horde-active-sessions script.
It works for me, pleae review.
Regards,
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Enhanced function of horde-active-sessions
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ Yes
New Attachment: horde-active-sessions
State ⇒ New
* added -ll user to get information on this user
* added -r user to remove a session
I attached all the changed horde-active-sessions script.
It works for me, pleae review.
Regards,
Frank