Opened 14 years ago

Closed 14 years ago

#2385 closed Bugs (fixed)

[bcp] Deal with trailing options in the command line.

Reported by: Daniel James Owned by: John Maddock
Milestone: Boost 1.37.0 Component: None
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

If the last argument to bcp is an option, then the last argument that isn't an option should probably be treated as the destination directory. The attached patch implements this. It's a bit of a hack though.

This recently caught out a user:

http://lists.boost.org/boost-users/2008/10/41126.php

Attachments (1)

bcp.patch (987 bytes ) - added by Daniel James 14 years ago.

Download all attachments as: .zip

Change History (2)

by Daniel James, 14 years ago

Attachment: bcp.patch added

comment:1 by John Maddock, 14 years ago

Resolution: fixed
Status: newclosed

(In [49162]) Fixes #2386. Removed trailing / from boost path. Fixes #2385. Handles all positional args separately from named args.

Note: See TracTickets for help on using tickets.