Merge pull request #741 from syohex/syohex/fail2ban-client-metadata
Add license header and metadata and fix typo
This commit is contained in:
		
						commit
						47ee32aa2e
					
				|  | @ -1,5 +1,26 @@ | |||
| #compdef fail2ban-client | ||||
| 
 | ||||
| # ------------------------------------------------------------------------------ | ||||
| # Copyright (c) 2020 Github zsh-users - http://github.com/zsh-users | ||||
| # All rights reserved. | ||||
| # | ||||
| # Permission is hereby granted, free of charge, to any person obtaining | ||||
| # a copy of this software and associated documentation files (the | ||||
| # "Software"), to deal in the Software without restriction, including | ||||
| # without limitation the rights to use, copy, modify, merge, publish, | ||||
| # distribute, sublicense, and/or sell copies of the Software, and to | ||||
| # permit persons to whom the Software is furnished to do so, subject to | ||||
| # the following conditions: | ||||
| # | ||||
| # The above copyright notice and this permission notice shall be included | ||||
| # in all copies or substantial portions of the Software. | ||||
| # | ||||
| # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||||
| # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||||
| # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||||
| # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||||
| # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||||
| # OTHER DEALINGS IN THE SOFTWARE. | ||||
| # ------------------------------------------------------------------------------ | ||||
| # Description | ||||
| # ----------- | ||||
|  | @ -29,7 +50,7 @@ _complete_f2bc_cmds() { | |||
|     'start:starts the server and the jails' | ||||
|     'stop:stops all jails and terminate the server' | ||||
|     'ping:tests if the server is alive' | ||||
|     'flushlogs:flushes the logtarget if a file and repoens it' | ||||
|     'flushlogs:flushes the logtarget if a file and reopens it' | ||||
|     'help:return this output' | ||||
|     'version:return the server version' | ||||
|   ) | ||||
|  | @ -309,4 +330,10 @@ _arguments -A "-*" -n \ | |||
|   '1:fail2ban command:_complete_f2bc_cmds' \ | ||||
|   '*:fail2ban command argument:_complete_f2bc_cmdargs' | ||||
| 
 | ||||
| # Local Variables: | ||||
| # mode: Shell-Script | ||||
| # sh-indentation: 2 | ||||
| # indent-tabs-mode: nil | ||||
| # sh-basic-offset: 2 | ||||
| # End: | ||||
| # vim: set et sw=2 ts=2 ft=zsh: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue