UNPKG

@alexbosworth/caporal

Version:

A full-featured framework for building command line applications (cli) with node.js

13 lines (9 loc) 280 B
"use strict"; const BaseError = require('./base-error'); class OptionSyntaxError extends BaseError { constructor(synopsis, program) { let msg = `Syntax error in option synopsis: ${synopsis}`; super(msg, {synopsis}, program); } } module.exports = OptionSyntaxError;