Skip to content

Commit

Permalink
adds version command line argument
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-ervin-jones committed Jun 17, 2022
1 parent 09cc410 commit d8a16fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gfmix
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,13 @@ while(iarg>=6){
if(opt=="-d"){
plusF <- FALSE; not.an.option <- FALSE
}
if(opt=="-v"){
version <- TRUE; not.an.option <- FALSE
}
}
iarg <- iarg-1
}
if(isTRUE(version)){cat('v1.0\n'); quit(status=0, save='no')}
if(is.null(seqfile)) stop("Need sequence file: -s seqfile")
if(is.null(treefile)) stop("Need tree file: -t treefile")
if(is.null(iqtreefile)) stop("Need iqtree file: -i iqtreefile")
Expand Down

0 comments on commit d8a16fa

Please sign in to comment.