Command line flags

This commit is contained in:
Jakob Borg
2013-12-18 19:36:28 +01:00
parent f774b0a5dc
commit eba1c9e649
4 changed files with 62 additions and 90 deletions

View File

@@ -171,12 +171,12 @@ func (m *Model) puller() {
var err error
if f.Flags&FlagDeleted == 0 {
if traceFile {
if opts.Debug.TraceFile {
debugf("FILE: Pull %q", n)
}
err = m.pullFile(n)
} else {
if traceFile {
if opts.Debug.TraceFile {
debugf("FILE: Remove %q", n)
}
// Cheerfully ignore errors here