Skip to content

Commit

Permalink
Fixed #29 by adding --edit flag
Browse files Browse the repository at this point in the history
  • Loading branch information
oshazard committed Sep 29, 2016
1 parent c3f109d commit 710ba9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apacman
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ version="2.7"
# * Uses AUR package cache directory if applicable
# * --asdeps install AUR packages non-explicitly
# * --asexplicit install AUR packages explicitly
# * --edit always ask to edit PKGBUILD
# * --keepkeys do not remove imported PGP keys
# * --purgekeys remove imported PGP keys
# * --legacy backwards compatability for AUR3 (deprecated)
Expand Down Expand Up @@ -144,6 +145,7 @@ usage() {
echo ' --config - specify alternate config file (default: /etc/apacman.conf)'
echo ' --cachevcs - installs cached VCS packages newer than AUR PKGBUILDs'
echo ' --devel - update VCS (git, svn, hg) packages during -Su'
echo ' --edit - always ask to edit PKGBUILD'
echo ' --ignore - takes a comma-separated list of packages to ignore'
echo ' --ignorearch - ignore a missing or incomplete architecture field'
echo ' --keepkeys - do not remove imported PGP keys'
Expand Down Expand Up @@ -1090,6 +1092,7 @@ while [[ $1 ]]; do
'--cachevcs') cachevcs='1' ;;
'--config') config='1' ; apacmanconf="$2" ; shift ;;
'--devel') devel='1' ;;
'--edit') unset noedit ;;
'--force') force='1' PACOPTS+=("--force");;
'--ignore') ignorearg="$2" ; PACOPTS+=("--ignore" "$2") ; shift ;;
'--ignorearch') MAKEPKGOPTS+=("--ignorearch");;
Expand Down
9 changes: 7 additions & 2 deletions apacman.8
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: apacman
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 09/07/2015
.\" Date: 09/29/2016
.\" Manual: apacman Manual
.\" Source: apacman
.\" Language: English
.\"
.TH "APACMAN" "8" "09/07/2015" "apacman" "apacman Manual"
.TH "APACMAN" "8" "09/29/2017" "apacman" "apacman Manual"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -102,6 +102,11 @@ installs cached VCS (git, svn, hg) packages newer than AUR PKGBUILDs\&.
Update development packages\&. (cvs, git\&...)
.RE
.PP
\fB\-\-edit\fR
.RS 4
Always ask to edit PKGBUILD (overrides 'noedit' option)\&.
.RE
.PP
\fB\-\-ignore\fR <\'package\'>
.RS 4
Ignore packages\&. Separate package names with a comma\&.
Expand Down

0 comments on commit 710ba9c

Please sign in to comment.