The whole passage says about discipline and the line "Discipline on the battlefield kept units obedient, intact and fighting, even when the odds and conditions were against them" means Option A best sums up the meaning of the passage.
Option C can be inferred from the first sentence, but is not the main objective of the passage.
Options B and D cannot be inferred from the given passage.
Correct Option: A.