Method

QuarrelCommandrequired_arg

Declaration

QuarrelCommand*
quarrel_command_required_arg (
  QuarrelCommand* self,
  const gchar* name,
  const gchar* description
)

Description

Define a required positional argument. You might want to use quarrel_command_arg() instead because this method will cause the parser to throw if the argument is missing.

Parameters

name

Type: const gchar*

No description available.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
description

Type: const gchar*

No description available.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: QuarrelCommand

No description available.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.