-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
.\" Title: json2xml | ||
.\" Author: Ladislav Lhotka <[email protected]> | ||
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> | ||
.\" Date: 2020-01-03 | ||
.\" Date: 2020-03-05 | ||
.\" Manual: pyang manual | ||
.\" Source: json2xml-2.1.1 | ||
.\" Source: json2xml-2.2 | ||
.\" Language: English | ||
.\" | ||
.TH "JSON2XML" "1" "2020\-01\-03" "json2xml\-2\&.1\&.1" "pyang manual" | ||
.TH "JSON2XML" "1" "2020\-03\-05" "json2xml\-2\&.2" "pyang manual" | ||
.\" ----------------------------------------------------------------- | ||
.\" * Define some portability stuff | ||
.\" ----------------------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
.\" Title: pyang | ||
.\" Author: Martin Björklund <[email protected]> | ||
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> | ||
.\" Date: 2020-01-03 | ||
.\" Date: 2020-03-05 | ||
.\" Manual: pyang manual | ||
.\" Source: pyang-2.1.1 | ||
.\" Source: pyang-2.2 | ||
.\" Language: English | ||
.\" | ||
.TH "PYANG" "1" "2020\-01\-03" "pyang\-2\&.1\&.1" "pyang manual" | ||
.TH "PYANG" "1" "2020\-03\-05" "pyang\-2\&.2" "pyang manual" | ||
.\" ----------------------------------------------------------------- | ||
.\" * Define some portability stuff | ||
.\" ----------------------------------------------------------------- | ||
|
@@ -174,6 +174,26 @@ $ pyang \-\-ignore\-error PATTERN_ERROR | |
.\} | ||
.RE | ||
.PP | ||
\fB\-\-msg\-template\fR \fImsg\-template\fR | ||
.RS 4 | ||
Print out error message in defined | ||
\fImsg\-template\fR\&. | ||
.sp | ||
Template used to display error messages\&. This is a python new\-style format string used to format the message information with keys file, line, code, type, and msg\&. | ||
.sp | ||
The following example create a msg template in defined pattern: | ||
.sp | ||
.if n \{\ | ||
.RS 4 | ||
.\} | ||
.nf | ||
$ pyang \-\-msg\-template=\*(Aq{file} || {line} || {type} || {level} || {code} || {msg}\*(Aq | ||
.fi | ||
.if n \{\ | ||
.RE | ||
.\} | ||
.RE | ||
.PP | ||
\fB\-\-ignore\-errors\fR | ||
.RS 4 | ||
Ignore all errors\&. Use with care\&. Plugins that don\*(Aqt expect to be invoked if there are errors present may crash\&. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
.\" Title: yang2dsdl | ||
.\" Author: Ladislav Lhotka <[email protected]> | ||
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> | ||
.\" Date: 2020-01-03 | ||
.\" Date: 2020-03-05 | ||
.\" Manual: pyang manual | ||
.\" Source: yang2dsdl-2.1.1 | ||
.\" Source: yang2dsdl-2.2 | ||
.\" Language: English | ||
.\" | ||
.TH "YANG2DSDL" "1" "2020\-01\-03" "yang2dsdl\-2\&.1\&.1" "pyang manual" | ||
.TH "YANG2DSDL" "1" "2020\-03\-05" "yang2dsdl\-2\&.2" "pyang manual" | ||
.\" ----------------------------------------------------------------- | ||
.\" * Define some portability stuff | ||
.\" ----------------------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters