io7m | single-page | multi-page | epub | Looseleaf User Manual
9.1. Overview
Previous
9. Command-Line Interface
Up
9.3. create-password
Next

# 9.2. check-configuration

- 9.2.1. Name
- 9.2.2. Description
- 9.2.3. Parameters
- 9.2.4. Examples

## 9.2.1. Name

1
check-configuration - Check configuration file.

## 9.2.2. Description

1
The check-configuration command will validate the configuration file specified with --file.
2
If the command encounters no errors or warnings, it will not print anything.

## 9.2.3. Parameters

### 9.2.3.1. --file

Attribute | Value
--- | ---
Name | --file
Type | java.nio.file.Path
Default Value |
Cardinality | [1, 1]
Description | The configuration file.

### 9.2.3.2. --verbose

Attribute | Value
--- | ---
Name | --verbose
Type | com.io7m.quarrel.ext.logback.QLogLevel
Default Value | info
Cardinality | [1, 1]
Description | Set the logging level of the application.

## 9.2.4. Examples

### 9.2.4.1. Example

    $ looseleaf check-configuration --file server.conf
    $ echo $?
    0

    $ looseleaf check-configuration --file bad.conf
    error: Nonexistent role 'oops'
    $ echo $?
    1

    $ looseleaf check-configuration --file bad2.conf
    error: Duplicate user 'someone'
    $ echo $?
    1

9.1. Overview
Previous
9. Command-Line Interface
Up
9.3. create-password
Next
io7m | single-page | multi-page | epub | Looseleaf User Manual