view doc/html/irccdctl/usage.md @ 306:c6eed76f8646

Tests: add test for server-invite, #559
author David Demelier <markand@malikania.fr>
date Wed, 19 Oct 2016 17:55:49 +0200
parents 904ee87bc808
children a60142be369a
line wrap: on
line source

---
title: Irccdctl usage and options
guide: yes
---

## Usage

Usage of irccdctl.

### Syntax

The general syntax for running an irccdctl command is:

````nohighlight
irccdctl commandname arg1 arg2 arg3 ... argn
````

You can have the online documentation by typing `irccdctl help commandname`.

### Shell escaping issue

Some shells may discard arguments if they begins with a hash. For instance, `bash` will not understand the following
command:

````nohighlight
$ irccdctl server-join localhost #staff
````

Instead, enclose the arguments with quotes

````nohighlight
$ irccdctl server-join localhost "#staff"
````