Commit Graph

20 Commits

Author SHA1 Message Date
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Mhd Sulhan 977d94839b CLI: Hide "Command options" if command is null
Before this commit, if icinga2 command executed without any argument,
the program will print empty "Command options".

While at it, clean the whitespaces.

fixes #10439

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-26 08:05:09 +01:00
Gunnar Beutner d01f09f3ef Hide internal attributes in the API
fixes #10393
2015-10-20 08:25:10 +02:00
Gunnar Beutner 7aaa6975fc Remove unnecessary SubStr call 2015-03-02 13:30:37 +01:00
Gunnar Beutner 898e385891 Implement argument auto-completion for short options
fixes #8185
2015-02-10 08:35:56 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Jean Flach 75682dc8e8 Fix single global options not working correctly on non-Linux systems
fixes #8196
2015-01-13 14:05:28 +01:00
Gunnar Beutner d532300cba Add an option that hides CLI commands
fixes #7702
2014-11-17 18:42:22 +01:00
Gunnar Beutner 11710ef683 Fix static initializers
refs #7634
2014-11-11 13:24:44 +01:00
Gunnar Beutner 65be09215f Avoid unnecessary type lookups
refs #7622
2014-11-10 20:07:07 +01:00
Jean Flach fd0436689c windows build fix
refs #7597
2014-11-06 15:13:44 +01:00
Gunnar Beutner 170c5a59e4 Implement typeof() function 2014-11-03 00:45:14 +01:00
Gunnar Beutner 3fc3f05bb4 Implement field attribute to hide fields in command auto-completion
fixes #7403
2014-10-31 08:53:25 +01:00
Gunnar Beutner 9f7c97051e Hide attributes in command auto-completion which cannot be set
refs #7403
2014-10-31 08:49:14 +01:00
Gunnar Beutner 80a3298b5e Implement support for running specific CLI commands as root
fixes #7380
2014-10-24 15:29:46 +02:00
Gunnar Beutner 3979bd87b3 Validate number of arguments
fixes #7442
2014-10-24 13:19:00 +02:00
Gunnar Beutner 74830dd8dd Fix auto-completion for ambiguous commands
fixes #7404
2014-10-22 08:16:56 +02:00
Gunnar Beutner 9c7d97b8bc Update the Windows agent wizard
refs #7241
2014-10-21 16:07:39 +02:00
Gunnar Beutner 5ddf5b3293 Improve --help formatting
refs #7246
2014-10-20 14:13:57 +02:00
Gunnar Beutner 26b9c5a81b Move clicommand.{cpp,hpp} to lib/cli
refs #7246
2014-10-20 14:06:21 +02:00