xbps-*: add short/long options (#21512)

This commit is contained in:
Nelson Figueroa
2026-03-14 11:46:41 +02:00
committed by GitHub
parent 4bf5be7fb8
commit 547b739fc9
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -10,4 +10,4 @@
- 모든 패키지를 동기화하고 업데이트:
`xbps-install --sync --update`
`xbps-install {{[-S|--sync]}} {{[-u|--update]}}`
+5 -5
View File
@@ -6,20 +6,20 @@
- 정규 표현식 또는 키워드를 사용하여 원격 저장소에서 패키지 검색 (`--regex`가 생략된 경우 키워드 사용):
`xbps-query --search {{정규_표현식|키워드}} --repository --regex`
`xbps-query {{[-s|--search]}} {{정규_표현식|키워드}} --repository --regex`
- 설치된 패키지에 대한 정보 표시:
`xbps-query --show {{패키지}}`
`xbps-query {{[-S|--show]}} {{패키지}}`
- 원격 저장소의 패키지 정보 표시:
`xbps-query --show {{패키지}} --repository`
`xbps-query {{[-S|--show]}} {{패키지}} --repository`
- 패키지 데이터베이스에 등록된 패키지 나열:
`xbps-query --list-pkgs`
`xbps-query {{[-l|--list-pkgs]}}`
- 명시적으로 설치된 패키지 나열 (의존성으로 자동 설치되지 않은 패키지):
`xbps-query --list-manual-pkgs`
`xbps-query {{[-m|--list-manual-pkgs]}}`
+3 -3
View File
@@ -10,12 +10,12 @@
- 패키지와 그 의존성 제거:
`xbps-remove --recursive {{패키지}}`
`xbps-remove {{[-R|--recursive]}} {{패키지}}`
- 고아 패키지 제거 (의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지):
`xbps-remove --remove-orphans`
`xbps-remove {{[-o|--remove-orphans]}}`
- 캐시에서 오래된 패키지 제거:
`xbps-remove --clean-cache`
`xbps-remove {{[-O|--clean-cache]}}`