diff options
| author | Xavier Roche <xroche@users.noreply.github.com> | 2012-05-01 19:11:31 +0000 |
|---|---|---|
| committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-05-01 19:11:31 +0000 |
| commit | c7f236fdb697d5f24c6d00a0c8ca30ecaf8d0b99 (patch) | |
| tree | 64ad8f0d206611f6599ec4527c4ca3cbce55382b /src/htscoremain.c | |
| parent | e564ca7fa233567c78e16f42cf89eae0374f0a03 (diff) | |
Added -y/-y0, to control background on suspend (Julian H. Stacey)
Diffstat (limited to 'src/htscoremain.c')
| -rw-r--r-- | src/htscoremain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c index 5f9c8a7..e7d7ad0 100644 --- a/src/htscoremain.c +++ b/src/htscoremain.c @@ -967,6 +967,8 @@ HTSEXT_API int hts_main2(int argc, char **argv, httrackp *opt) { // case 'X': opt->delete_old=1; if (*(com+1)=='0') { opt->delete_old=0; com++; } break; // + case 'y': opt->background_on_suspend=1; if (*(com+1)=='0') { opt->background_on_suspend=0; com++; } break; + // case 'b': sscanf(com+1,"%d",&opt->accept_cookie); while(isdigit((unsigned char)*(com+1))) com++; break; // case 'N': |
