Minecraft wiki entry for Development_versions, associated text: /advancement:
Added five modifiers to the /advancement grant and /advancement revoke commands:
"everything" - all advancements, no specification required (same as "*")
"from" - this advancement, its children, and their children, etc.
"until" - this advancement, its parent, and its parent, etc.
"through" - both of the above
"only" - this advancement, and nothing else
Examples:
/advancement grant dinnerbone until story/elytra
/advancement revoke dinnerbone everything