Skip to content

Commit

Permalink
Fix references to gramps-xml file format in man pages
Browse files Browse the repository at this point in the history
Change -f gramps-xml to -f gramps

Fixes #9723.
  • Loading branch information
kenhara authored and Nick-Hall committed Feb 7, 2024
1 parent 7ae774a commit bcb9562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/man/en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ To explicitly specify the formats in the above example, append filenames with
appropriate **-f** options::

gramps -i file1.ged -f gedcom -i file2.tgz -f gramps-pkg \
-i ~/db3.gramps -f gramps-xml -i file4.wft -f wft -a check
-i ~/db3.gramps -f gramps -i file4.wft -f wft -a check

To record the database resulting from all imports, supply a **-e** flag (use
**-f** if the filename does not allow gramps to guess the format)::
Expand Down
4 changes: 2 additions & 2 deletions gramps/cli/argparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
gramps -i file1.ged -i file2.gpkg -i ~/db3.gramps -i file4.wft -a tool -p name=check.
2. To explicitly specify the formats in the above example, append filenames with appropriate -f options:
gramps -i file1.ged -f gedcom -i file2.gpkg -f gramps-pkg -i ~/db3.gramps -f gramps-xml -i file4.wft -f wft -a tool -p name=check.
gramps -i file1.ged -f gedcom -i file2.gpkg -f gramps-pkg -i ~/db3.gramps -f gramps -i file4.wft -f wft -a tool -p name=check.
3. To record the database resulting from all imports, supply -e flag
(use -f if the filename does not allow Gramps to guess the format):
Expand All @@ -138,7 +138,7 @@
To learn about available report names, use name=show string.
9. To convert a Family Tree on the fly to a .gramps xml file:
gramps -O 'Family Tree 1' -e output.gramps -f gramps-xml
gramps -O 'Family Tree 1' -e output.gramps -f gramps
10. To generate a web site into an other locale (in german):
LANGUAGE=de_DE; LANG=de_DE.UTF-8 gramps -O 'Family Tree 1' -a report -p name=navwebpage,target=/../de
Expand Down

0 comments on commit bcb9562

Please sign in to comment.