INSTALL-INFO(1)

๐Ÿ’– INSTALL-INFO(1) ๐Ÿ’–

okay bestie, so this is install-info, a User Commands girlie, and she is literally the reason your Info directory stays cute and organized โœจ she updates info/dir entries, no cap.


๐ŸŒธ NAME ๐ŸŒธ

install-info โ€” update info/dir entries


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

install-info [OPTION]... [INFO-FILE [DIR-FILE]]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So what she does is: she adds or removes entries in INFO-FILE from the Info directory DIR-FILE. That's the whole vibe. ๐Ÿซถ

And like, here's the thing โ€” INFO-FILE and DIR-FILE are required unless you pass the --info-file or --dir-file options (or --info-dir) instead. So you either hand her the files directly or you point her at them with flags, pick your fighter ๐Ÿ’…


โœจ OPTIONS โœจ

  • --add-once โ€” only add to the first matching section, not all of them. one and done, queen ๐Ÿ‘‘
  • --align=COL โ€” start the description of new entries over at column COL.
  • --calign=COL โ€” format the second and every description line after that so they start at column COL.
  • --debug โ€” report what is being done. she's telling you everything, fr fr ๐Ÿ—ฃ๏ธ
  • --delete โ€” delete existing entries for INFO-FILE from DIR-FILE, and don't insert any new ones. strictly a removal era ๐Ÿ’€
  • --defsection=TEXT โ€” like --section, but only use TEXT if no sections are present in INFO-FILE (this is what replaces "Miscellaneous").
  • --description=TEXT โ€” the description of the entry is TEXT; used together with the --name option it becomes synonymous with the --entry option.
  • --dir-file=NAME โ€” specify the file name of the Info directory file; equivalent to using the DIR-FILE argument.
  • --dry-run โ€” same as --test.
  • --entry=TEXT โ€” insert TEXT as an Info directory entry, overriding any corresponding entry from DIR-FILE. TEXT is written as an Info menu item line followed by zero or more extra lines starting with whitespace.
    • If you specify more than one entry, all of them get added. If you don't specify any entries, they are determined from information in the Info file itself.
  • --help โ€” display this help and exit. (the classic escape hatch ๐Ÿƒโ€โ™€๏ธ)
  • --info-dir=DIR โ€” same as --dir-file=DIR/dir.
  • --info-file=FILE โ€” specify the Info file to install in the directory; equivalent to using the INFO-FILE argument.
  • --item=TEXT โ€” same as --entry=TEXT.
  • --keep-old โ€” do not replace entries, or remove empty sections. she's preserving, she's gentle ๐ŸŒธ
  • --maxwidth, --max-width=COL โ€” wrap the description at column COL.
  • --menuentry=TEXT โ€” same as --name=TEXT.
  • --name=TEXT โ€” the name of the entry is TEXT; used with --description it becomes synonymous with the --entry option.
  • --no-indent โ€” do not format new entries in the DIR file.
  • --quiet โ€” suppress warnings. shhh ๐Ÿคซ
  • --regex=R โ€” put this file's entries in all sections that match the regular expression R (ignoring case).
  • --remove โ€” same as --delete.
  • --remove-exactly โ€” only remove if the info file name matches exactly; suffixes such as .info and .gz are not ignored. no vibes-based matching here, it's giving precision ๐ŸŽฏ
  • --section=SEC โ€” put entries in section SEC of the directory.
    • If you specify more than one section, all the entries are added in each of the sections.
    • If you don't specify any sections, they are determined from information in the Info file itself; if nothing is available there, the --defsection value is used; if that is not specified, the final default is "Miscellaneous".
  • --section R SEC โ€” equivalent to --regex=R --section=SEC --add-once.
  • --silent โ€” suppress warnings. (yes, again. twins ๐Ÿ’•)
  • --test โ€” suppress updating of DIR-FILE. look but don't touch, bestie ๐Ÿ™ˆ
  • --version โ€” display version information and exit.

๐Ÿ˜ญ REPORTING BUGS ๐Ÿ˜ญ

Found something cursed? Email bug reports to bug-texinfo@gnu.org, and send general questions and discussion to help-texinfo@gnu.org.

Texinfo home page: https://www.gnu.org/software/texinfo/


Copyright ยฉ 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. like literally none, zero, nada ๐Ÿ’€

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

The full documentation for install-info is maintained as a Texinfo manual. If the info and install-info programs are properly installed at your site, the command

info install-info

should give you access to the complete manual. go read it, it's giving encyclopedia ๐Ÿ“š


and that's the whole page, bestie!! this was GNU texinfo 7.2, dated December 2024 โ€” mwah, slay, periodt ๐Ÿ’…โœจ