diff --git a/pages/linux/dpkg-deb.md b/pages/linux/dpkg-deb.md index cbccfa7229..657e59b9cc 100644 --- a/pages/linux/dpkg-deb.md +++ b/pages/linux/dpkg-deb.md @@ -5,20 +5,20 @@ - Display information about a package: -`dpkg-deb --info {{path/to/file.deb}}` +`dpkg-deb {{[-I|--info]}} {{path/to/file.deb}}` - Display the package's name and version on one line: -`dpkg-deb --show {{path/to/file.deb}}` +`dpkg-deb {{[-W|--show]}} {{path/to/file.deb}}` - List the package's contents: -`dpkg-deb --contents {{path/to/file.deb}}` +`dpkg-deb {{[-c|--contents]}} {{path/to/file.deb}}` - Extract package's contents into a directory: -`dpkg-deb --extract {{path/to/file.deb}} {{path/to/directory}}` +`dpkg-deb {{[-x|--extract]}} {{path/to/file.deb}} {{path/to/directory}}` - Create a package from a specified directory: -`dpkg-deb --build {{path/to/directory}}` +`dpkg-deb {{[-b|--build]}} {{path/to/directory}}` diff --git a/pages/linux/dpkg-query.md b/pages/linux/dpkg-query.md index 80fd4afd79..45b217e98d 100644 --- a/pages/linux/dpkg-query.md +++ b/pages/linux/dpkg-query.md @@ -5,20 +5,20 @@ - List all installed packages: -`dpkg-query --list` +`dpkg-query {{[-l|--list]}}` - List installed packages matching a pattern: -`dpkg-query --list '{{libc6*}}'` +`dpkg-query {{[-l|--list]}} '{{libc6*}}'` - List all files installed by a package: -`dpkg-query --listfiles {{libc6}}` +`dpkg-query {{[-L|--listfiles]}} {{libc6}}` - Show information about a package: -`dpkg-query --status {{libc6}}` +`dpkg-query {{[-s|--status]}} {{libc6}}` - Search for packages that own files matching a pattern: -`dpkg-query --search {{/etc/ld.so.conf.d}}` +`dpkg-query {{[-S|--search]}} {{/etc/ld.so.conf.d}}`