Fix sade option

This commit is contained in:
Emmanuel 2022-11-15 14:36:17 +01:00
parent f0363f698f
commit 632d3db102
4 changed files with 4 additions and 4 deletions

View file

@ -115,7 +115,7 @@ async function importDole({ resume }: { resume?: string } = {}): Promise<void> {
sade("import_dole", true)
.describe("Import Dila's DOLE database")
.option("-r", "--resume", "Resume import at given relative file path")
.option("-r, --resume", "Resume import at given relative file path")
.example(
"--resume dole/global/JORF/DOLE/00/00/36/07/36/JORFDOLE000036073697.xml",
)

View file

@ -384,7 +384,7 @@ async function importJorf({ resume }: { resume?: string } = {}): Promise<void> {
sade("import_jorf", true)
.describe("Import Dila's JORF database")
.option("-r", "--resume", "Resume import at given relative file path")
.option("-r, --resume", "Resume import at given relative file path")
.example(
"--resume global/eli/accord/2002/5/5/MESS0221690X/jo/article_1/versions.xml",
)

View file

@ -315,7 +315,7 @@ async function importKali({ resume }: { resume?: string } = {}): Promise<void> {
sade("import_kali", true)
.describe("Import Dila's KALI database")
.option("-r", "--resume", "Resume import at given relative file path")
.option("-r, --resume", "Resume import at given relative file path")
.example(
"--resume global/conteneur/KALI/CONT/00/00/05/63/50/KALICONT000005635082.xml",
)

View file

@ -343,7 +343,7 @@ async function importLegi({ resume }: { resume?: string } = {}): Promise<void> {
sade("import_legi", true)
.describe("Import Dila's LEGI database")
.option("-r", "--resume", "Resume import at given relative file path")
.option("-r, --resume", "Resume import at given relative file path")
.example(
"--resume global/eli/accord/2002/5/5/MESS0221690X/jo/article_1/versions.xml",
)